package com.link.base.base.contract.controller;

import com.link.base.base.contract.model.MaterialCode;
import com.link.base.base.contract.service.MaterialCodeService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 物料编码表
 *
 * @author 王昊
 * @date 2021-06-03 11:01:46
 */
@Controller
@RequestMapping("/link/materialCode")
public class MaterialCodeController extends BasicController<MaterialCode> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private MaterialCodeService materialCodeService;

    @Override
    public BasicService<MaterialCode> getBasicService() throws Exception {
        return materialCodeService;
    }
}